package com.home.entity;

import lombok.*;

import java.util.Date;
import javax.persistence.*;
@Builder(toBuilder = true)
@AllArgsConstructor(access = AccessLevel.PACKAGE)
@NoArgsConstructor
@Getter
@Setter
@Table(name = "lt_phone")
public class LtPhone {
    private Long id;

    @Column(name = "phone_num")
    private String phoneNum;

    @Column(name = "prov_name")
    private String provName;

    @Column(name = "city_name")
    private String cityName;

    /**
     * 出发时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    @Column(name = "fetch_method")
    private String fetchMethod;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return phone_num
     */
    public String getPhoneNum() {
        return phoneNum;
    }

    /**
     * @param phoneNum
     */
    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    /**
     * @return prov_name
     */
    public String getProvName() {
        return provName;
    }

    /**
     * @param provName
     */
    public void setProvName(String provName) {
        this.provName = provName;
    }

    /**
     * @return city_name
     */
    public String getCityName() {
        return cityName;
    }

    /**
     * @param cityName
     */
    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    /**
     * 获取出发时间
     *
     * @return update_time - 出发时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置出发时间
     *
     * @param updateTime 出发时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * @return fetch_method
     */
    public String getFetchMethod() {
        return fetchMethod;
    }

    /**
     * @param fetchMethod
     */
    public void setFetchMethod(String fetchMethod) {
        this.fetchMethod = fetchMethod;
    }
}
